* {
    margin: 0;
    padding: 0;
}

ul,
li {
    list-style: none;
}

a {
    text-decoration: none;
}

html,
body {
    width: 100%;
    height: 100%;
    background-color: #f6f6f6;
    position: relative;
}

header {
    width: 100%;
    height: 161px;
    overflow: hidden;

    .top {
        width: 1200px;
        height: 100%;
        margin: 0 auto;

        .logo {
            overflow: hidden;
            float: left;
            margin: 50px 0 0 20px;
            height: 75px;

            img {
                width: 75px;
                height: 75px;
                float: left;
            }

            .right {
                float: left;
                margin: 8px 0 0 15px;
                text-align: center;
                color: #43200c;

                h3 {
                    font-size: 28px;
                    font-weight: 600;
                    line-height: 40px;
                }

                span {
                    font-size: 12px;
                    display: inline-block;
                    line-height: 17px;
                    transform: scale(.8);
                }
            }
        }

        .search {
            float: left;
            margin: 50px 0 0 108px;
            width: 532px;
            height: 48px;

            form {
                width: 100%;
                height: 48px;
                border-radius: 34px;
                box-shadow: inset 0 0 0 2px #43240c;
                position: relative;

                span {
                    width: 45px;
                    height: 45px;
                    display: inline-block;
                    background: url(../images/search.png) no-repeat 15px 15px;
                    background-size: 20px 20px;
                }

                input {
                    position: absolute;
                    top: 3px;
                    left: 47px;
                    width: calc(100% - 177px);
                    font-size: 16px;
                    line-height: 43px;
                    color: #43200c;
                    border: none;
                    outline: none;
                }

                button {
                    cursor: pointer;
                    position: absolute;
                    top: 3px;
                    right: 2px;
                    width: 124px;
                    font-size: 14px;
                    font-weight: 500;
                    line-height: 45px;
                    text-align: center;
                    color: #43200c;
                    background-color: #fee44e;
                    border: none;
                    border-radius: 34px;
                }
            }
        }

        .top-right {
            float: right;
            margin: 43px 65px 0 0;
            font-size: 10px;

            ul {
                overflow: visible;

                li {
                    float: left;
                    position: relative;
                    margin-right: 25px;
                    width: 44px;
                    height: 60px;
                    text-align: center;

                    img {
                        display: inline-block;
                        width: 40px;
                        height: 40px;
                    }

                    span {
                        position: absolute;
                        bottom: 0;
                        left: 50%;
                        font-size: 12px;
                        white-space: nowrap;
                        color: #737373;
                        transform: translateX(-50%);
                    }
                }
            }
        }
    }
}

nav {
    width: 100%;
    height: 46px;
    background-color: #43200c;

    .navigation {
        width: 1200px;
        height: 46px;
        margin: 0 auto;

        .text-nav {
            width: 1200px;
            height: 46px;
            position: relative;

            .text-nav-li {
                width: 166px;
                float: left;
                cursor: pointer;
                text-align: center;
                line-height: 47px;

                a {
                    font-size: 16px;
                    font-weight: 500;
                    color: #fff;
                }
            }

            .text-nav-li:hover {
                background-color: #fee44e;

                a {
                    color: #43240c;
                }
            }

            .text-nav-li:nth-child(1) {
                width: 220px;
            }
            .cart{
                height: 46px;
                width: 150px;
                float: right;
                text-align: center;
                line-height: 46px;
                font-size: 16px;
                background-color:#fee44e;
                cursor: pointer;
                border-radius: 10px;
                .cart-num{
                    font-size: 18px;
                    font-weight: 600;
                    color: red;
                }
            }
        }
    }
}

.details {
    margin: 0 auto;
    width: 1200px;

    .commdity {
        width: 100%;
        overflow: hidden;

        .cmd-info {
            width: 914px;
            height: 352px;
            float: left;
            background-color: #fff;
            overflow: hidden;

            .photos {
                width: 282px;
                height: 282px;
                margin: 35px 26px;
                float: left;

                .autoplay {
                    width: 282px;
                    height: 282px;
                    margin: 0 auto;
                    position: relative;
                    overflow: hidden;
                    list-style: none;
                    padding: 0;
                    z-index: 1;

                    .swiper-container {
                        position: relative;
                        width: 100%;
                        height: 100%;
                        z-index: 1;
                        display: -ms-flexbox;
                        display: flex;
                        transition-property: transform;
                        box-sizing: content-box;
                        img{
                            width: 282px;
                            height: 282px;
                        }
                    }
                }

            }

            .container {
                width: 534px;
                height: 282px;
                float: right;
                margin-top: 35px;
                margin-right: 46px;

                .cmd-title {
                    font-size: 24px;
                    color: #43240c;
                    line-height: 33px;
                    margin-top: 5px;

                    .title-icons {
                        display: inline-block;
                        font-size: 0;
                        line-height: 20px;
                        vertical-align: middle;
                        margin-top: 5px;

                        .platform {
                            width: 24px;
                            height: 24px;
                            margin-right: 6px;
                        }

                        .free-postage {
                            width: 42px;
                            height: 24px;
                        }
                    }
                }

                .cmd-price {
                    width: 530px;
                    height: 87px;
                    font-size: 16px;
                    font-weight: 400;
                    color: #b1a9a5;
                    line-height: 22px;
                    background-color: #f5f5f5;
                    overflow: hidden;
                    margin-top: 10px;

                    .original-price {
                        text-decoration: line-through;
                        margin-top: 16px;
                        margin-left: 16px;

                        i {
                            font-style: normal;
                        }
                    }

                    .last-price {
                        font-size: 20px;
                        color: #ff4653;
                        line-height: 28px;
                        background-color: #f5f5f5;
                        margin-left: 16px;

                        .price {
                            font-size: 40px;
                            font-family: PingFangSC-Semibold;
                            font-weight: 600;
                            color: #fa585a;
                            line-height: 28px;

                            .value-tag {
                                font-size: 20px;
                                font-style: normal;
                            }

                            .digit {
                                font-size: 28px;
                            }
                        }

                        .coupon-info {
                            display: inline-block;
                            height: 16px;
                            background: #feeeee;
                            border-radius: 2px;
                            border: 1px solid #fa585a;
                            font-size: 12px;
                            text-align: center;
                            line-height: 17px;
                            margin-bottom: 4px;
                            margin-left: 4px;
                            vertical-align: middle;
                        }

                        .sale-num {
                            display: table-cell;
                            position: relative;
                            font-size: 16px;
                            font-weight: 400;
                            color: #b1a9a5;
                            line-height: 22px;
                            vertical-align: middle;
                            margin-top: 16px;
                            margin-right: 27px;
                            float: right;
                        }
                    }
                }

                .expire-date {
                    float: right;
                    position: relative;
                    font-size: 14px;
                    font-weight: 500;
                    color: #fa585a;
                    line-height: 20px;
                    margin-top: 27px;
                }

                .clear {
                    clear: both;
                }

                .goTB-btn {
                    width: 224px;
                    height: 50px;
                    border-radius: 4px;
                    background-color: #ff4653;
                    font-size: 18px;
                    font-weight: 500;
                    color: #fff;
                    line-height: 25px;
                    border: none;
                    margin-top: 11px;
                    margin-bottom: 39px;
                    display: block;
                    float: right;
                }
            }
        }

       

        .cmd-details {
            background-color: #fff;
            width: 1200px;
            margin-top: 7px;
            overflow: hidden;
            min-height: 500px;

            .imgs {
                font-size: 0;
                width: 790px;
                min-height: 500px;
                margin: 83px 285px 6px 27px;

                img {
                    width: 100%;
                }
            }
        }
        .shop-info {
            float: right;
            width: 275px;
            height: 352px;
            background: #fff;
            border: 1px solid #fee44e;
            font-weight: 500;
            text-align: center;

            .content {
                display: table-cell;
                line-height: 31.5px;
                width: 273px;
                height: 63px;
                margin: 1px 0;
                background: linear-gradient(180deg, #fee44e, #fff 85%, #fff);

                .line {
                    display: inline-block;
                    width: 56px;
                    height: 1px;
                    opacity: .2;
                    background: #43240c;
                    vertical-align: middle;
                }

                .text {
                    font-size: 14px;
                    color: #43240c;
                    vertical-align: middle;
                }
            }

            .shop-img {
                width: 150px;
                height: 150px;
                margin: 3px auto 0;
            }

            .shop-name {
                font-size: 18px;
                color: #43240c;
                line-height: 25px;
                text-align: center;
            }

            .shop-score {
                width: 168px;
                height: 44px;
                margin: 9px auto 17px;

                .character {
                    font-size: 14px;
                    color: #b1a9a5;
                    line-height: 20px;
                    display: flex;

                    li {
                        display: list-item;
                        flex: 1;
                        text-align: center;
                    }
                }

                .score {
                    font-size: 14px;
                    color: #fb9547;
                    line-height: 20px;
                    display: flex;

                    li {
                        display: list-item;
                        flex: 1;
                        text-align: center;
                    }
                }
            }
        }
    }
}

footer {
    margin: 81px auto 0;

    .foot {
        width: 100%;
        height: 240px;
        background: #000;
        opacity: .706;
        color: #fff;
        position: relative;
        bottom: 0;
        font-family: PingFang-SC-Medium;
        margin-top: 81px;

        .foot-contain {
            width: 1200px;
            height: 112px;
            margin: 0 auto;

            img {
                float: left;
                width: 112px;
                height: 112px;
                margin: 37px 19px 0 40px;
                margin-right: 19px;
                border-radius: 20px;
            }

            .center {
                display: inline-block;
                text-align: center;
                margin-top: 45px;
                margin-right: 444px;

                .foot-title {
                    font-size: 36px;
                    font-family: PingFangSC-Semibold;
                    font-weight: 600;
                }

                .slogin {
                    font-size: 18px;
                    font-weight: 500;
                    line-height: 25px;
                }
            }
        }

        .about-us {
            margin-top: -28px;

            .items {
                font-size: 20px;
                margin-left: 680px;

                .line {
                    margin: 0 8px;
                }

                .item {
                    color: #fff;
                }
            }
        }

        .footer-bottom {
            width: 1200px;
            margin: 0 auto;
            position: relative;
            text-align: center;
            margin-top: 88px;

            img {
                width: 22px;
                height: 22px;
                margin-top: 5px;
                vertical-align: -5px;
            }

            p {
                display: inline-block;
                line-height: 25px;
                font-size: 18px;

                a {
                    color: rgb(255, 255, 255);
                }
            }
        }
    }
}

.footer-down {
    padding-bottom: 50px;
    display: block;
    position: relative;

    img {
        position: absolute;
        width: 83px;
        aspect-ratio: auto 83 / 30;
        height: 30px;
        left: 48%;
    }
}